import request from '@/utils/request'

//载体检测详情列表
export function yqCarriermanageDetailList(query) {
  return request({
    url: '/cqbc/yqCarriermanageDetail/list',
    method: 'get',
    params: query
  })
}

//删除
export function deleteByBatchId(batchId) {
  return request({
    url: '/cqbc/yqCarriermanageDetail/deleteByBatchId/'+batchId,
    method: 'DELETE',
  })
}

//查看详情页面
export function listByBatchId(data) {
  return request({
    url: '/cqbc/yqCarriermanageDetail/listByBatchId?pageNum=' + data.pageNum + "&pageSize=" + data.pageSize,
    method: 'POST',
    data:data
  })
}

//获取四性检测详情

export function inspectionLogs(pId) {
  return request({
    url: '/archive/inspectionLogs/list?pId=' + pId,
    method: 'GET',
  })
}
